home *** CD-ROM | disk | FTP | other *** search
- Path: peer-news.britain.eu.net!uknet!bhamcs!news
- From: Matthew G Butler <M.G.Butler-MSCSE95@cs.bham.ac.uk>
- Newsgroups: comp.lang.c++
- Subject: Casting
- Date: Wed, 13 Mar 1996 14:28:44 +0000
- Organization: School of Computer Science, The University of Birmingham, U.K.
- Message-ID: <3146DB9C.4022@cs.bham.ac.uk>
- NNTP-Posting-Host: gromit.cs.bham.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
-
- Can anyone tell me how to cast from one data type to another? What is
- the syntax? Do I have to cast explicitly or can I stick a casting
- function into my ADT and let the sprites sort it out.
-
- M.
-